// reducer 函数
import { GET_USER_INFO } from '@/store/actionTypes'
const initState = {  }
export default function login(state = initState , action) {
    console.log('user', state, action)
    if(action.type === GET_USER_INFO) {
        return action.payload
    }
    return state
}